package com.xuecheng.manager_cms_client.dao;

import com.xuecheng.framework.domain.cms.CmsPage;
import org.springframework.data.mongodb.repository.MongoRepository;

public interface CmsPageRepository extends MongoRepository<CmsPage,String> {

    public CmsPage findByPageName(String pageName);

    public CmsPage findByPageNameAndSiteIdAndPageWebPath(String siteId, String pageName, String pageWebPath);

    public CmsPage findByPageId(String pageId);

}
